/**  
* @project_name yjd_comm
* @Title: ICashout.java
* @Package com.yjd.comm.cashout.service
* @Description: TODO
* @author lindy lindytem@126.com  
* @date 2014-8-26 下午3:28:23
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.funds.service;

import java.util.Map;

import com.yjd.comm.base.model.PagerModel;
import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.funds.model.FundsCountModel;
import com.yjd.comm.funds.model.FundsDataModel;

/**
 * @ClassName: ICashout
 * @Description: 金额操作接口
 * @author lindy lindytem@126.com
 * @date 2014-8-26 下午3:28:23
 */
public interface IFundsDataService extends IBaseService{
	/**
	* 新增
	* @param model
	* @return
	* @throws Exception
	 */
	public FundsDataModel insert(FundsDataModel model) throws Exception;
	/**
	 * 
	* 获取资金统计对象
	* @param paramMap
	* @param b
	* @return
	 */
	public FundsCountModel getFundsCount(Map<String, Object> paramMap, boolean b);
	
	
	/**
	 * 理财金返现记录
	* @param paramMap
	* @return PagerModel
	 * @throws Exception 
	 */
	@SuppressWarnings("rawtypes")
	public PagerModel getStatisPagerModel(Map paramMap) throws Exception;
	
	public long getModelCounts(Map<Object, Object> paramMap, boolean b) throws Exception;

}
